import {GlobalTheme} from "naive-ui"

const mutations = {
    changeTheme (state:any, theme:GlobalTheme | string | null) {
        state.theme = theme
    },
    changeSearchEngine(state:any, value: string) {
        state.searchEngineValue = value
    },
    changeBackgroundImage(state:any, url: string | number) {
        state.backgroundImage = url
    }
}
export { mutations }